/* 新增保存 */
export const addForm = (data) => {
  return axios({
    url: `/cms/slideshow`,
    method: 'post',
    data
  })
}
/* 编辑保存 */
export const editForm = (data) => {
  return axios({
    url: `/cms/slideshow`,
    method: 'put',
    data
  })
}
/* 编辑详情 */
export const editFormDetails = (slideshowId) => {
  return axios({
    url: `cms/slideshow/${slideshowId}`,
    method: 'get'
  })
}
